package com.ctrip.ec.biz.entity.role;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("s_role")
public class RoleEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("name")
    private String name;
    @DbColumn("type_id")
    private Integer typeId;
    @DbColumn("remark")
    private String remark;
    @DbColumn("code")
    private String code;
    @DbColumn("sort_num")
    private Integer sortNum;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("create_time")
    private Timestamp createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("update_time")
    private Timestamp updateTime;
    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name = name;
    }
    public  Integer getTypeId(){
        return this.typeId;
    }
    public void setTypeId(Integer typeId){
        this.typeId = typeId;
    }
    public  String getRemark(){
        return this.remark;
    }
    public void setRemark(String remark){
        this.remark = remark;
    }
    public  String getCode(){
        return this.code;
    }
    public void setCode(String code){
        this.code = code;
    }
    public  Integer getSortNum(){
        return this.sortNum;
    }
    public void setSortNum(Integer sortNum){
        this.sortNum = sortNum;
    }
    public  Timestamp getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
    public  Timestamp getUpdateTime(){
        return this.updateTime;
    }
    public void setUpdateTime(Timestamp updateTime){
        this.updateTime = updateTime;
    }
}